package com.dc.business.datacollectbusiness.mapper;

import com.dc.business.datacollectbusiness.entity.CollectorPassage;
import com.dc.business.datacollectbusiness.entity.Custom;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CollectorPassageMapper {
    public List<CollectorPassage> selectCollectorPassageByCollectorCode(String collectorCode);
    public void insertCollectorPassage(CollectorPassage collectorPassage);
    public void updateCollectorPassage(CollectorPassage collectorPassage);

    /**
     * 修改采集器通道状态和添加表编号
     */
    public boolean updateCollectorPassagestate(int collectPassageId,String ScheduleNumbering);

    /**
     * 通过集器通道id获取集器通道
     */
    public CollectorPassage getCollectorPassageByid(int collectPassageId);
    public void deleteCollectorPassageBycollectPassageId(Integer collectPassageId);

    /*获取采集器绑定的表编号*/
    public String getBiaobianhao(String collectorCode, String passageCode);
}
